package com.habo.entity;

import java.util.Date;
import java.util.List;

/**
 * Created by junbb on 2017/3/24.
 */
public class User {
    private String Uid;
    private String Uname;
    private String Upassword;
    private String Usex;
    private String Uaddress;
    private String Uphone;
    private String Uemail;
    private String Uportrait;
    private Date Udate;
    private List<Share> shares;
    private Share share;

    public User() {

    }

    public User(String uid, String uname, String upassword, String usex, String uaddress, String uphone, String uemail, String uportrait, Date udate) {
        Uid = uid;
        Uname = uname;
        Upassword = upassword;
        Usex = usex;
        Uaddress = uaddress;
        Uphone = uphone;
        Uemail = uemail;
        Uportrait = uportrait;
        Udate = udate;
    }

    public String getUid() {
        return Uid;
    }

    public void setUid(String uid) {
        Uid = uid;
    }

    public String getUname() {
        return Uname;
    }

    public void setUname(String uname) {
        Uname = uname;
    }

    public String getUpassword() {
        return Upassword;
    }

    public void setUpassword(String upassword) {
        Upassword = upassword;
    }

    public String getUsex() {
        return Usex;
    }

    public void setUsex(String usex) {
        Usex = usex;
    }

    public String getUaddress() {
        return Uaddress;
    }

    public void setUaddress(String uaddress) {
        Uaddress = uaddress;
    }

    public String getUphone() {
        return Uphone;
    }

    public void setUphone(String uphone) {
        Uphone = uphone;
    }

    public String getUemail() {
        return Uemail;
    }

    public void setUemail(String uemail) {
        Uemail = uemail;
    }

    public String getUportrait() {
        return Uportrait;
    }

    public void setUportrait(String uportrait) {
        Uportrait = uportrait;
    }

    public Date getUdate() {
        return Udate;
    }

    public void setUdate(Date udate) {
        Udate = udate;
    }

    public List<Share> getShares() {
        return shares;
    }

    public void setShares(List<Share> shares) {
        this.shares = shares;
    }

    public Share getShare() {
        return share;
    }

    public void setShare(Share share) {
        this.share = share;
    }

    @Override
    public String toString() {
        return "User{" +
                "Uid='" + Uid + '\'' +
                ", Uname='" + Uname + '\'' +
                ", Upassword='" + Upassword + '\'' +
                ", Usex='" + Usex + '\'' +
                ", Uaddress='" + Uaddress + '\'' +
                ", Uphone='" + Uphone + '\'' +
                ", Uemail='" + Uemail + '\'' +
                ", Uportrait='" + Uportrait + '\'' +
                ", Udate=" + Udate +
                ", shares=" + shares +
                ", share=" + share +
                '}';
    }
}
